home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
HPAVC
/
HPAVC CD-ROM.iso
/
AGSSC10.ZIP
/
AGSSC.PPE
(
.txt
)
< prev
next >
Wrap
PCBoard Programming Language Executable
|
1994-10-31
|
4KB
|
214 lines
;------------------------------------------------------------------------------
; .ss.
; `²²'
; .,sS$Ss,,s$ .,sS$$$Ss. .,sS$Ss,,s$ .ss. .sSs.
; .d$$²^°²$$$$'.d$P²°^^²$P'.d$$²^°²$$$$'.$$$' .$$$²Sb,.
; $$$' .$$$' $$$²Sçsµ²' .$$$' .$$$'.$$$' .$$$' `$$b.
; $$$b,,d$$$' ,$$$b,....,s$$$$b,,d$$$'.$$$;.,$$$' ;$$$
; `²S$$S²²S$$S²°²S$$$$S²°°²S$$$$$$',$$S²°²S$S'.sS$$$P²'
; .sS²°$$$²²°"' d²°'
; .$$² .$$'
; $$$.,d$$'
; `²S$$S²'
;------------------------------------------------------------------------------
; P.P.L.X. 2.OO (C)1996 - Lone Runner / AEGiS CoRP'96
;------------------------------------------------------------------------------
; PPE 2.OO (plain) - Analysis ON - Postprocessing ON
;------------------------------------------------------------------------------
Integer INTEGER001
Integer INTEGER002
Integer INTEGER003
String TSTRING001(16)
String STRING002
String STRING003
String TSTRING004(16)
;------------------------------------------------------------------------------
RdUNet PcbNode()
STRING003 = "UPDOWN82" + Chr(13)
WrUNet PcbNode(), "Q", UN_Name(), UN_City(), "USiNG AGS SySoP CMDs", " "
TSTRING001(1) = " ≡01≡ LiST / PRiNT CaLLeR'z LoG "
TSTRING001(2) = " ≡02≡ LiST / PRiNT uSeR'z LoG "
TSTRING001(3) = " ≡03≡ PaCK / ReNuMBeR MeSSaGeS "
TSTRING001(4) = " ≡04≡ ReCoVeR a KiLLeD MeSSaGe "
TSTRING001(5) = " ≡05≡ LiST MeSSaGe HeaDeRS "
TSTRING001(6) = " ≡06≡ VieW aNy SySTeM FiLe "
TSTRING001(7) = " ≡07≡ uSeR MaiTeNaNCe "
TSTRING001(8) = " ≡08≡ PaCK THe uSeR'z FiLe "
TSTRING001(9) = " ≡09≡ eXiT To DoS FRoM ReMoTe "
TSTRING001(10) = " ≡10≡ PeRFoRM DoS FuNCTioN "
TSTRING001(11) = " ≡11≡ VieW oTHeR NoDe uSeRS "
TSTRING001(12) = " ≡12≡ LoGoFF aLTeRNaTe NoDe "
TSTRING001(13) = " ≡13≡ VieW aLTeRNaTe NoDe CaLLeR LoG "
TSTRING001(14) = " ≡14≡ DRoP aLTeRNaTe NoDe To DoS "
TSTRING001(15) = " ≡15≡ ReCyCLe a NoDe "
TSTRING001(16) = " ≡00≡ QuiT BaCK To NoRMaL BoaRD FuNCTioNS "
Cls
If (Exist(PPEPath() + "AGSSC.CFG")) Goto LABEL001
Cls
PrintLn "@X0FC@X07oNFiGuRaTioN FiLe NoT FouN@X08D"
PrintLn "@X0Fe@X07XiTiNG..@X08."
Newline
Wait
End
:LABEL001
FOpen 1, PPEPath() + "AGSSC.CFG", 0, 0
For INTEGER003 = 1 To 15
FGet 1, TSTRING004(INTEGER003)
Next
FClose 1
If (CurSec() < SysopSec()) Then
Cls
PrintLn "@X0FT@X07HiS PPe iS a SySoPS oNLy FuNCTio@X08N"
PrintLn "@X0FS@X07oRRy, You CaN NoT uSe iT !!!!!!!@X08!"
Newline
Wait
End
Endif
Print "@POFF@"
DispFile PPEPath() + "AGSSCMN.PCB", 0
Color 7
For INTEGER003 = 1 To 16
AnsiPos 29, INTEGER003 + 5
PrintLn TSTRING001(INTEGER003)
Next
Print "@X1F"
AnsiPos 29, 6
Print Upper(TSTRING001(1))
INTEGER001 = 1
INTEGER002 = 1
STRING002 = "#"
:LABEL002
STRING002 = Inkey()
If (InStr(STRING003, STRING002) == 0) Goto LABEL002
If (((STRING002 == "UP") || (STRING002 == "8")) && (INTEGER001 > 1)) Then
INTEGER002 = INTEGER001
INTEGER001 = INTEGER001 - 1
Gosub LABEL003
Endif
If (((STRING002 == "DOWN") || (STRING002 == "2")) && (INTEGER001 < 16)) Then
INTEGER002 = INTEGER001
INTEGER001 = INTEGER001 + 1
Gosub LABEL003
Endif
If (STRING002 == Chr(13)) Then
If (INTEGER001 == 16) Then
Color 7
Cls
PrintLn "@X01A@X09E@X0FGiS CoRP SySoP MeNu aBoRTeD..."
Newline
Wait
End
Endif
If (Upper(TSTRING004(INTEGER001)) == "INTERNAL") Then
AnsiPos 1, 23
Color 7
KbdStuff String(INTEGER001) + Chr(13)
End
Endif
If (Upper(TSTRING004(INTEGER001)) <> "INTERNAL") Then
AnsiPos 1, 23
Color 7
Call TSTRING004(INTEGER001)
Newline
Color 7
PrintLn "@X01T@X09H@X0FaNK You FoR uSiNG AEGiS CoRP SySoP MeNu!"
Newline
Wait
Endif
End
Endif
Goto LABEL002
End
:LABEL003
AnsiPos 29, 5 + INTEGER002
Print "@X07" + TSTRING001(INTEGER002)
AnsiPos 29, 5 + INTEGER001
Print "@X1F" + Upper(TSTRING001(INTEGER001))
Return
;------------------------------------------------------------------------------
;
; Usage report (before postprocessing)
;
; ■ Statements used :
;
; 6 End
; 4 Cls
; 4 Wait
; 5 Color
; 14 Goto
; 29 Let
; 5 Print
; 7 PrintLn
; 11 If
; 1 DispFile
; 1 FOpen
; 1 FClose
; 1 FGet
; 2 Gosub
; 1 Return
; 5 Newline
; 1 KbdStuff
; 1 Call
; 1 RdUNet
; 1 WrUNet
; 6 AnsiPos
;
;
; ■ Functions used :
;
; 13 +
; 1 -
; 8 ==
; 1 <>
; 4 <
; 2 <=
; 1 >
; 4 >=
; 10 !
; 6 &&
; 4 ||
; 4 Upper()
; 3 Chr()
; 1 InStr()
; 1 Inkey()
; 1 String()
; 3 PPEPath()
; 2 PcbNode()
; 1 SysopSec()
; 1 UN_Name()
; 1 UN_City()
; 1 CurSec()
; 1 Exist()
;
;------------------------------------------------------------------------------
;
; Analysis flags : Cs
;
; C - Call child PPE ■ 3
; This is usually normal, but may be a tricky way to launch some
; sysop-only commands.
; ■ Search for : CALL
;
; s - Sysop level access ■ 5
; Program is reading the sysop access level, this may be normal
; but still it is very suspect. It is the best way to give a user
; all priviledges. Check!
; ■ Search for : SYSOPSEC()
;
;------------------------------------------------------------------------------
;
; Postprocessing report
;
; 2 For/Next
; 0 While/EndWhile
; 7 If/Then or If/Then/Else
; 0 Select Case
;
;------------------------------------------------------------------------------
; AEGiS Corp - Break the routines, code against the machines!
;------------------------------------------------------------------------------